public class Person {
    String name;
    char gender;
    int age;
    private int number;

    {gender = '女';}      //

    public Person() {
        this.name = name;
//        this.age = age;
        this.gender = '男';
        this.number = number;

    }

    public Person(String name, char gender, int age, int number) {
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.number = number;
    }

    public int getNumber() {
        return number;

    }

    public void setNumber(int number) {
        this.number = number;
    }
}

